home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir41
/
yesno21.zip
/
LOADNET.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-03-29
|
1KB
|
32 lines
@echo off
c:\util\yesorno /Y /15 Do you want to login to the Novell Network ? [Y/N]
if errorlevel 1 goto END
rem -- If 'N' is pressed, batch file will continue at :END
rem -- If 'Y' is pressed then the batch file will continue at the next line.
loadhigh c:\dos\ipx.com
loadhigh c:\dos\netx.com /ps=dad /c=c:\dos\net.cfg
set lan_name=HATFIELD
c:\util\yesorno /Y /15 Do you want to login as : %lan_name% ? [ Y or N ]
if errorlevel 1 set lan_name=
rem -- If 'N' is pressed, lan_name variable will be erased.
rem -- If 'Y' is pressed then the batch file will continue at the next line.
:LOGIN
f:login DAD/%lan_name%
if not errorlevel 1 goto END
rem -- Login.exe returns an error if the login is unsuccessful
rem -- If no error occurs, batch file will continue at :END
c:\util\yesorno /Y /15 /TB:4 /TC:14 Network not loaded! Try Again ? [Y/N]
if errorlevel 1 goto END
rem -- If 'N' is pressed, batch file will continue at :END
rem -- If 'Y' is pressed then the batch file will continue at the next line.
goto LOGIN
:END
c: